package com.baoleme.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author wuyunbin
 * @since 2024-09-13
 */
@Data
@TableName("order_detail")
public class OrderDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @NotNull(message = "菜品名称不能为空")
    private String name;

    private String image;

    private String orderId;

    private String goodsId;

    private String setMealId;

    private String goodsFlavor;

    private Integer number;

    private BigDecimal amount;
}
